package com.liang.demo.service;

import com.liang.demo.po.Admin;
import com.liang.demo.po.Resource;

import java.util.List;

public interface AdminService {
    Admin getAdminInfo(Long adminId);


    List<Admin> getAdminAll();

    Admin getAdminByUsername(String username);

    List<Resource> getPermissionList(Long id);

    String login(String userName, String password);

    String refreshToken(String token);
}
